package com.xinghai.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xinghai.common.annotation.Excel;
import com.xinghai.common.core.domain.BaseEntity;

/**
 * 银行对象 js_bank
 * 
 * @author xinghai
 * @date 2024-08-31
 */
public class JsBank extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    /** 主键 */
    private Long bank_id;

    public Long getBank_id() {
        return bank_id;
    }

    public void setBank_id(Long bank_id) {
        this.bank_id = bank_id;
    }

    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** logo */
    @Excel(name = "logo")
    private String logo;

    /** 图片 */
    @Excel(name = "图片")
    private String image;

    /** 详情 */
    @Excel(name = "详情")
    private String content;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 状态（0显示 1隐藏） */
    @Excel(name = "状态", readConverterExp = "0=显示,1=隐藏")
    private String status;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    /** 关联上级 */
    @Excel(name = "关联上级")
    private Long pId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setLogo(String logo) 
    {
        this.logo = logo;
    }

    public String getLogo() 
    {
        return logo;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setpId(Long pId) 
    {
        this.pId = pId;
    }

    public Long getpId() 
    {
        return pId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("logo", getLogo())
            .append("image", getImage())
            .append("content", getContent())
            .append("sort", getSort())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("pId", getpId())
            .toString();
    }
}
